#include "GLRenderer.h"

#include <GLWindow.h>

#define WINDOW_WIDTH 512
#define WINDOW_HEIGHT 512
#define WINDOW_TITLE "Graph Visualization"

GLWindow window = GLWindow( WINDOW_WIDTH, WINDOW_HEIGHT, WINDOW_TITLE );

GLRenderer::GLRenderer( void )
{

}

GLRenderer::~GLRenderer( void )
{

}

void GLRenderer::Init( int *argc, char** argv ) {
    // init glut
    glutInit( argc, argv );
    // set windows size
    glutInitWindowSize( viewport.getWidth( ), viewport.getHeight( ) );
    // set OpenGL display mode
    glutInitDisplayMode( GLUT_RGBA | GLUT_DEPTH | GLUT_DOUBLE );
    // set window title
    glutCreateWindow( WINDOW_TITLE );
    // set rendering function
    glutDisplayFunc( Render );

}

void GLRenderer::Start( void ) {

}

void GLRenderer::Render( void ) {

}
